package de.igormukhin.examples.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import lombok.Data;

@Data
public class User {
	private String name;
	private int age;
	private Date birth;
	private List<String> hobbies = new ArrayList<>();

	// test for
	// com.fasterxml.jackson.databind.DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
	public String getAlias() {
		return this.name;
	}
}
